package com.argrace.smart.model;

import org.litepal.crud.DataSupport;

/**
 * Created by argrace_dev_1 on 2018/3/1.
 */

public class LocalDb_DeviceNameAndRoomNameTable extends DataSupport {
    private int id;
    //子设备uuid
    private String uuid;
    //设备重命名
    private String nickName;
    private String roomName;
    //设备属性
    private String property;
    private String shortModel;
    private String model;
    //由uuid与property共同组成
    private String deviceKey;
    //state，目前只增加状态,0关闭，1开启
    private String switch_state = "0";
    //新增是否展开
    private boolean isExpand = false;

    public boolean isExpand() {
        return isExpand;
    }

    public void setExpand(boolean expand) {
        isExpand = expand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSwitch_state() {
        return switch_state;
    }

    public void setSwitch_state(String switch_state) {
        this.switch_state = switch_state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getShortModel() {
        return shortModel;
    }

    public void setShortModel(String shortModel) {
        this.shortModel = shortModel;
    }

    public String getDeviceKey() {
        return deviceKey;
    }

    public void setDeviceKey(String deviceKey) {
        this.deviceKey = deviceKey;
    }
}
